import { DagChart } from '@/components/TaskRelationChart/dag.chart'
import { defineStore } from 'pinia'
// import { StorageService } from '@/services/common/storage/storage.service'

export const useDagStore = defineStore('dag', {
  state: (): { dagChart: DagChart | void } => {
    return { dagChart: undefined }
  },
  actions: {
    updateDagChart(dagChart: DagChart) {
      this.dagChart = dagChart
    }
  }
})
